package dreamdancetiktokmodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// DanceActivitiesDrawPrizeShowConditions 光环活动条件
type DanceActivitiesDrawPrizeShowConditions struct {
	Id           int64 `gorm:"primaryKey;autoIncrement;comment:id" json:"id"`
	ActivitiesId int64 `json:"activitiesId" gorm:"column:activities_id;type:bigint;default:0;not null;comment:活动id"` // 开始时间
	//ActivitiesConditionId     int64          `json:"activitiesId" gorm:"column:activities_condition_id;type:bigint;default:0;not null;comment:活动条件id"`                       // 开始时间
	TypeActivities            int            `json:"conditionsType" gorm:"column:conditions_type;type:tinyint;default:0;not null;comment:1.光环;2.翅膀;3:欢乐值"` //奖品类型
	EleType                   int64          `json:"eleType" gorm:"column:ele_type;type:bigint;default:0;not null;comment:一级类型"`                           // 是否缓存 0否 1是
	ElePart                   int64          `json:"elePart" gorm:"column:ele_part;type:bigint;default:0;not null;comment:二级类型"`
	ConditionsValue           int64          `json:"conditionsValue" gorm:"column:conditions_value;type:bigint;default:0;not null;comment:分门槛"`                              // 奖品
	RaloNo                    int64          `json:"raloNo" gorm:"column:ralo_no;type:bigint;default:0;not null;comment:分门槛"`                                                // 光环id
	WingsNo                   int64          `json:"wingsNo" gorm:"column:wings_no;type:bigint;default:0;not null;comment:分门槛"`                                              // 翅膀id
	Score                     int64          `json:"score" gorm:"column:score;type:bigint;default:0;not null;comment:分门槛"`                                                   // 欢乐值
	RHand                     int64          `json:"rHand" gorm:"column:r_hand;type:bigint;default:0;not null;comment:右手持"`                                                  // 右手持
	PelvisWorld               int64          `json:"pelvisWorld" gorm:"column:pelvis_world;type:bigint;default:0;not null;comment:腰挂载"`                                      // 右手持
	ConditionsValueProportion int64          `json:"conditionsValueProportion" gorm:"column:conditions_value_proportion;type:bigint;default:0;not null;comment:抽奖比例，不能大于1万"` // 欢乐值
	ValidityPeriod            int64          `json:"validityPeriod" gorm:"column:validity_period;type:bigint;default:0;not null;comment:有效期"`                                // 欢乐值
	Tag                       int            `json:"tag" gorm:"column:tag;type:tinyint;default:0;not null;comment:0：a,1:s,2:b"`                                              // 欢乐值
	Status                    int64          `json:"status" gorm:"column:status;type:tinyint;default:0;not null;comment:0:无，1:新品，2:热门"`                                      // 道具状态0:无，1:新品，2:热门
	CreatedId                 int64          `json:"created_id" gorm:"column:created_id;type:bigint;default:0;not null;comment:创建人id"`                                       // 创建人id
	CreatedAt                 time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt                 time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt                 gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
